package com.magnificent.atlantis.client.data.alert;

import javax.xml.bind.annotation.XmlRootElement;
import java.util.Date;

/**
 * User: Babanin
 * Date: 03.05.2009
 * Time: 21:01:58
 */
@XmlRootElement(name = "automaticAlert")
public class AutomaticAlert extends AbstractAlert {

    private int taskId;

    public AutomaticAlert() {
    }

    public AutomaticAlert(String title, String message, Date date, int taskId) {
        super(title, message, date);
        this.taskId = taskId;
    }

    public int getTaskId() {
        return taskId;
    }

    public void setTaskId(int taskId) {
        this.taskId = taskId;
    }
}
